package com.woniuxy.rms.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel("管理员实体类")
public class Admins {

    @ApiModelProperty("管理员id")
    private Long id;

    @ApiModelProperty("管理员账户")
    private String account;

    @ApiModelProperty(value = "管理员密码",hidden = true)
    private String passWord;

    @ApiModelProperty("管理员描述")
    private String title;

    @ApiModelProperty("管理员电话")
    private String phone;

    @ApiModelProperty("管理员姓名")
    private String adminName;

    @ApiModelProperty(value = "管理员身份证号码",hidden = true)
    private String adminCard;

    @ApiModelProperty("管理员角色id")
    private Integer roleId;

    @ApiModelProperty(value = "管理员角色名称",hidden = true)
    private String role;//角色名称

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty(value = "小区id",hidden = true)
    private Long plotId;

    @ApiModelProperty(value = "手机验证码",hidden = true)
    private String phoneCode;//注册时获取的手机验证码

    @ApiModelProperty("邮箱地址")
    private String email;//邮箱

    private String rePassWord;//确认密码

}